<template>
    <div>
        <el-input-number 
                v-model="submit_data[data.key]" 
                @change="onChange" 
                @click="onClick"
                @blur="onBlur"
                @focus="onFocus"
                :min="data.min || min" 
                :max="data.max || max" 
                :label="data.desc || ''"></el-input-number>
    </div>
</template>
<script>
import Common from "./js/Common";
import InputTextarea from "./js/InputTextarea";
var Js = Common("sls-input-number");
Js.mixins = [
  InputTextarea,
  {
    data() {
      return {
        min: 0,
        max: 9999
      };
    }
  }
];
export default Js;
</script>
<style scoped lang="less"></style>